package org.aileen.springioc.demo.IOC.v1_noIOCversion;

public class Car {
    private Framework framework;//车身
    public Car(int size) {
        //造车之前需要造车身
        framework = new Framework(size);
        System.out.println("car init");
    }

    public void run(){
        System.out.println("car run");
    }
}
